package com.tfswx.jcyw.ruleenginedesigner.dto.gzgl;

import com.tfswx.jcyw.ruleenginedesigner.validation.MaxLength;
import com.tfswx.ruleengine.compute.enums.BdslxEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ricky
 * @date 2021/5/16
 */
@Data
public class BdsAddInputDTO {

    @ApiModelProperty(value = "")
    @NotBlank(message = "gzbm-不能为空")
    private String gzbm;

    @ApiModelProperty(value = "")
    @NotBlank(message = "bdsmc-不能为空")
    private String bdsmc;

    @ApiModelProperty(value = "")
    @NotBlank(message = "bdsms-不能为空")
    @MaxLength(value = 4000, message = "bdsms-长度不能超过4000")
    private String bdsms;

    @ApiModelProperty(value = "")
    @NotBlank(message = "bds-不能为空")
    private String bds;

    @ApiModelProperty(value = "")
    @NotBlank(message = "hczd-不能为空")
    private String hczd;

    @ApiModelProperty(value = "")
    @NotNull(message = "bdslx-不能为空")
    private BdslxEnum bdslx;
}
